package com.yunxi.vehicle.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.ApiResult;
import com.yunxi.vehicle.pojo.VehicleCatalogVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 车辆版本 服务类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-07
 */
public interface VehicleCatalogDubboService {

    VehicleCatalogVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    ApiResult saveOrUpdate(VehicleCatalogVO vehicleCatalogVo) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    void del(VehicleCatalogVO vehicleCatalogVo);

    List catalogList();

    List<VehicleCatalogVO> findAll(String pageNum, String pageSize) throws InvocationTargetException, IllegalAccessException;

    PageInfo<VehicleCatalogVO> findPageByVO(VehicleCatalogVO vehicleCatalogVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;
}
